import request from '@/utils/request'

// 日志列表
// export function getLogList() {
//   return request.post('/operation/log/page')
// }

export const getLogList = (data: {
  pageNum: number
  pageSize: number
  // agentId:number
  startTime?:string | number
  endTime?:string | number
  businessType:number
  
}) => {
  return request.post('/operation/log/page', { data })
}

// 删除日志
export function deleteLog(params: { id: string | number }) {
  return request.post('/operation/log/delete', { params })
}